package com.sy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.asm.SpringAsmInfo;

import java.time.LocalDateTime;
import java.util.Date;

public class HomeworkMagTable {
    private Integer id;
    private String title;
    private String className;
    private Date startTime;
    private Date endTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "HomeworkMagTable{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", className='" + className + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                '}';
    }
}
